package com.anyonavinfo.cpaddemo.view.mainview.miniradio;

import android.content.Context;

import java.util.ArrayList;

import static android.icu.lang.UCharacter.GraphemeClusterBreak.T;

/**
 * Created by Drive on 2017/1/22.
 */

public interface MiniRadioContract {

     interface View{

        void updateVoiceChannel(final int channel);//1 radio 2phone 3media

<<<<<<< HEAD
        void updateFrq(final int band, final int frq, final int samePosition, final int[] stations);//samePosition 为 当前频率同已存电台频率相同的位置,不同为0，其余为1,2,3
=======
        void updateFrq(final int band, final int frq,final int samePosition,final int[] stations );//samePosition 为 当前频率同已存电台频率相同的位置,不同为0，其余为1,2,3
>>>>>>> b56716b621890f59100a220d4c7abe0ddb29e232

        void updateStationList(final int band, final int[] stations);

         void updateStation(final int position, final int frq);
    }

    interface Presenter{
        void openApp(Context context);
        void changeBand();
        void playRadio();
        void saveStation(int position);
        void seekStation(int position);
        void seekUp();
        void seekDown();
    }
}
